<?php

/**
 * FreeY_Db_Table
 *
 * @auther		FreeYadmin FreeYadmin@gmail.com
 * @update		FreeYadmin 
 * @package		FreeY 
 */	
class FreeY_Db_Table
{
	/**
	 * insert
	 *
	 * @param $var
	 * @return viod
	 */
	static public function insert($input)
	{
		$lib = new Fy_Db_Table_Insert;
		$lib->start($input);
		return $lib->run();
	}	
	/**
	 * select
	 *
	 * @param $var
	 * @return viod
	 */
	static public function select($input)
	{
		$lib = new Fy_Db_Table_Select;
		$lib->start($input);
		return $lib->run();
	}	
	/**
	 * update
	 *
	 * @param $var
	 * @return viod
	 */
	static public function update($input)
	{
		$lib = new Fy_Db_Table_Update;
		$lib->start($input);
		return $lib->run();

	}	
	/**
	 * delete
	 *
	 * @param $var
	 * @return viod
	 */
	static public function delete($input)
	{
		$input['data'] = $input;
		$lib = new Fy_Db_Table_Delete;
		$lib->start($input);
		return $lib->run();

	}
}
//file end--------------------------------------------------------->